isAbstractType should identify interfaces and unions